<%-- 
    Document   : agregar
    Created on : 24-may-2012, 21:50:38
    Author     : carlo
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<!DOCTYPE html>
<html:html>
    <tiles:insert definition="mensaje"/>
        <h1>Seleccione el archivo correspondiente al informe que desea cargar:</h1>
        <html:form action="/agregarInforme" method="post" enctype="multipart/form-data">

            <table>

                <tr>

                    <td>
                        <html:file property="ruta"/>
                    </td>
                    
                </tr>

            </table>

      
       
            <table>
                <tr>
                    <td>Nombre Informe:</td>    
                    <td>    
                        <html:text property="nombre"/>
                    </td>
                </tr>
                <tr>
                    <td>
                        <html:select property="publico">
                            <html:option value="0"> Seleccione Tipo</html:option>
                            <html:option value="true"> P&uacute;blico</html:option>
                            <html:option value="false"> Privado</html:option>
                           
                        </html:select> 
                    </td>

                </tr>
                <tr>
                    <td>
                        <div class="buttons">
                            <button value="Buscar" type="submit" class="positive" style="margin-left: 3%; margin-top: 3%;">

                                Guardar
                            </button>
                        </div>


                    </td>
                </tr>
            </table>
        </html:form>

</html:html>

